<script>
export default {
	globalData: {
		statusBarHeight: '' //手机顶部状态栏高度
	},
	onLaunch: function() {
		const that = this;
		uni.getSystemInfo({ 
			success(res) {
				that.globalData.statusBarHeight = res.statusBarHeight;
			}
		});
		
		// 购物车数量
		// uni.setTabBarBadge({
		// 	index: 2,
		// 	text: '3'
		// })
	},
	onShow: function() {},
	onHide: function() {}
};
</script>

<style lang="scss">
// 初始化页面
page {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	background-color: #eeeeee;
}

@font-face {
  font-family: "钉钉进步体 Regular";font-weight: 400;src: url("//at.alicdn.com/wf/webfont/Evvv34TpMPha/RfjMRb5h78CsmcVLvhTWt.woff2") format("woff2"),
  url("//at.alicdn.com/wf/webfont/Evvv34TpMPha/j7UOCXqWQTLfSI_-jOln-.woff") format("woff");
  font-display: swap;
}

@font-face {
	font-family: "syht";
	src: url('https://louiscloud-1304691295.cos.ap-guangzhou.myqcloud.com/%E9%94%90%E5%AD%97%E6%BD%AE%E7%89%8C%E7%9C%9F%E8%A8%80%E7%AE%802.0%E5%85%8D%E8%B4%B9%20%E5%B8%B8%E8%A7%84.ttf');
}
.dd_font {
	font-family: "钉钉进步体 Regular";
}

.mm_font { 
	font-family: "syht";
}
::v-deep .wscnph { 
	width: 100vw;
}
@import "uview-ui/index.scss"; 
</style>
